<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 不唠叨的章鱼
  Date: 2023/12/18
  Time: 23:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>

    <style type="text/css"> <!--页面样式定义-->
        /* Border styles */
    .title{
        width:100%; height: 40px;
    }

    .sysmenu{
        width:100%; height: 40px;
        border-bottom: #0086F6 1px solid;
        background: #0086F6;
    }
    .sysmenu a{
        color:#fff;
    }
    .sysmenu span{
        color:#fff;
    }
    #table-1{
        width:85%;
        margin-top:10px;
    }
    .s1{
        width:200px;
    }
    .s2{
        font-size: 20px;
        color:#000000;
        font-weight: 600;
        width:400px;
    }
    .s3{
        font-size: 14px;
        font-weight: 400;
        color:#575757;
    }
    .s4{
        font-size: 14px;
        font-weight: 400;
        color:#009ACD;
    }
    .s5{
        font-size: 24px;
        font-weight: 400;
        color: #FF6E1E;
        padding:20px;
    }
    .editbox{
        background: #ffffff;
        border: 1px solid #b7b7b7;
        color: #003366;
        cursor: text;
        font-family: "arial";
        font-size: 11pt;
        width:300px;
        height: 24px;
        padding: 3px;
        border-radius: 5px 5px 5px 5px;
        margin-top:3px;
        margin-bottom:3px;
    }

    .bluebuttoncss {
        font-family: "tahoma", "黑体"; /*www.52css.com*/
        font-size: 11pt; color: #ffffff;
        border: 0px #93bee2 solid;
        background-color:#29e5a7;
        cursor: hand;
        font-style: normal ;
        width:80px;
        height:30px;
        border-radius: 5px 5px 5px 5px;
    }


    </style>
</head>
<body>
<center>
    <html>
    <head>
        <title>Title</title>

    </head>
    <body>
    <div class="title">
        <div style="float:none; margin-left:20px;line-height:30px;">
            <span style="font-size:40px; color:red;font-weight: 800;" >乐高销售平台</span>
        </div>
    </div>
    <div class="sysmenu" style="clear:both;margin-top: 10px">  <!--系统菜单-->
        <div style="float:left; margin-left:20px;margin-top:5px">
            <a style="font-size:18px;text-decoration:none;" href="index.do">首页</a>
        </div>
        <div style="float:right; margin-right:20px; margin-top:10px;font-size:14px">
            <span>|</span>



            <c:choose>
                <c:when test="${loginuser.utid==1}">

                    <span style="margin-left:20px;color:#000000 ">您好，${loginuser.username}(管理员)</span>
                    <a style="text-decoration:none; margin-left:20px;" href="drugmanage.do" title="">我的药品</a>
                    <a style="text-decoration:none; margin-left:20px;" href="logOut.do" title="">退出登录</a>
                </c:when>

                <c:when  test="${loginuser.utid==2}">
                    <span style="margin-left:20px;color:#000000 ">您好，${loginuser.username}</span>
                    <a style="text-decoration:none; margin-left:20px;" href="addnormalmember.html" title="">我的信息</a>
                    <a style="text-decoration:none; margin-left:20px;" href="userbookinginfo.html" title="">我的订单</a>
                    <a style="text-decoration:none; margin-left:20px;" href="glregister.jsp" title="">管理员注册</a>
                    <a style="text-decoration:none; margin-left:20px;" href="logOut.do" title="">退出登录</a>
                </c:when>

                <c:otherwise>
                    <span style="margin-left:20px;color:#000000 ">您好，请先登录</span>
                    <a style="text-decoration:none; margin-left:20px;" href="register.jsp" title="">普通用户注册</a>
                    <a style="text-decoration:none; margin-left:20px;" href="glregister.jsp" title="">管理员注册</a>
                    <a style="text-decoration:none; margin-left:20px;" href="login.jsp" title="">登录</a>
                </c:otherwise>
            </c:choose>


        </div>
    </div>

    </body>
    </html>
